<?php
require_once('libs/Smarty.class.php');
$oSmarty = new Smarty();
$userIsAdmin = 'false' ; 
$oSmarty->assign('smarty_userIsAdmin', $userIsAdmin);

$oSmarty->display('if.tpl');
?>